package com.ipay.dao;

import java.util.List;
import java.util.Map;

import com.ipay.entity.QRCodeEntity;

public interface QRCodeDao extends BaseDao<QRCodeEntity> {

	int insertQrCode(QRCodeEntity qRCode);
	
	List<QRCodeEntity> getListByMerchantId(String merchantId);
	
	List<QRCodeEntity> getListByParam(Map<String,String> map);

	QRCodeEntity findCodeDetailsByCodeno(String codeNo);
	
	List<QRCodeEntity> findListByUserId(Long userId);
	
	int updateByMerchantNo(String merchantNo);
	
	QRCodeEntity getCodeByMerchantId(String merchantNo);
	
	int deleteBatchByMerchantNo(Object[] id);
}
